<?php /* Smarty version 2.6.18, created on 2012-09-12 10:13:03
         compiled from chi_tiet_ma_phat.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array('title' => 'Chi tiet ma phat')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="" method="post" name ="tongquat" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="70%" colspan="3">
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'">
</td>
<td align="right" nowrap="nowrap">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/>
</td>
</tr>
<tr>
<td colspan="4">
<hr>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="15%"><?php echo $this->_tpl_vars['lbl_maphat']; ?>
</td>
    <td colspan="3" style="color:#FF0000"><input name="PENTYPE" type="text" style="background:<?php echo $this->_tpl_vars['colormaphat']; ?>
" value="<?php echo $this->_tpl_vars['PENTYPE']; ?>
" size="20" maxlength="5" />
     * 
      <input id="replacement_find" type="submit" name="find" value="    "  height="15"/></td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_machinhanh']; ?>
</td>
    <td colspan="3"><span style="color:#FF0000">
      <input name="BRNCODE" id="BRNCODE" type="text" value="<?php echo $this->_tpl_vars['BRNCODE']; ?>
" size="20" maxlength="3" style="background:<?php echo $this->_tpl_vars['colormaCN']; ?>
" />
    * </span>
      <input type="button" onclick="mywindow = window.open('chi_nhanh_id.php', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findchinhanh" id="replacement_binoculars" value="     "  /></td>
    </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_ten_laisuat']; ?>
</td>
    <td colspan="3"><span style="color:#FF0000">
      <input name="PENNAME" type="text" style="background:<?php echo $this->_tpl_vars['colortenmaphat']; ?>
" value="<?php echo $this->_tpl_vars['PENNAME']; ?>
" size="50" maxlength="50" readonly="readOnly" />
    </span></td>
    </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_ngayhieuluc']; ?>
</td>
    <td><input type="text" value="<?php echo $this->_tpl_vars['datevalue']; ?>
" name="EFFDATE" size="20" style="background:<?php echo $this->_tpl_vars['colorngay']; ?>
" readonly="readOnly"></td>
	<td width="15%"><?php echo $this->_tpl_vars['lbl_cachtinhphat']; ?>
</td>
	<td><select name="ACRTYPE" size="1" style="width:150px;" disabled="disabled" >
	  
      <?php $_from = $this->_tpl_vars['ACRTYPE']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
	  	
	  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['activeACRTYPE']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['v']; ?>
</option>
	  
	  <?php endforeach; endif; unset($_from); ?>
    
	  </select>	</td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_sodutinhlai']; ?>
</td>
    <td><select name="ACRBAL" size="1" style="width:150px;" disabled="disabled">
			 <?php $_from = $this->_tpl_vars['ACRBAL']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
	  	
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['activeACRBAL']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['v']; ?>
</option>
      
	  <?php endforeach; endif; unset($_from); ?>
    </select>    </td>
    <td><?php echo $this->_tpl_vars['lbl_cosonam']; ?>
</td>
    <td><select name="YBASE" size="1" style="width:150px;" disabled="disabled" >
      
      <?php $_from = $this->_tpl_vars['YBASE']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
	  	
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['activeYBASE']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['v']; ?>
</option>
      
	  <?php endforeach; endif; unset($_from); ?>
    
    </select>    </td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_laisuatKKH']; ?>
</td>
    <td nowrap="nowrap"><input name="DRATE" type="text"  value="<?php echo $this->_tpl_vars['DRATE']; ?>
" size="20" maxlength="10" readonly="readOnly" style="text-align:right;" />
      % n&#259;m</td>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_malaisuatKKH']; ?>
</td>
    <td nowrap="nowrap"><input name="DRATECD" id="DRATECD" type="text"  value="<?php echo $this->_tpl_vars['DRATECD']; ?>
" size="20" maxlength="10" readonly="readOnly"  style="text-align:right;"  /></td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_sokyhantruoc']; ?>
</td>
    <td><input name="TERMNO" id="TERMNO" type="text" value="<?php echo $this->_tpl_vars['TERMNO']; ?>
" size="20" maxlength="10" readonly="readOnly" style="text-align:right;"/></td>
    <td><?php echo $this->_tpl_vars['lbl_DMAXTIME']; ?>
</td>
    <td><input name="DMAXTIME" type="text" style="background:<?php echo $this->_tpl_vars['colorDMAXTIME']; ?>
; text-align:right;" value="<?php echo $this->_tpl_vars['DMAXTIME']; ?>
" size="20" maxlength="6" onblur="formatNumber2(this,this.value,1,4);" onkeypress="return numberOnly(event);" readonly="readonly"/></td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_DMINAMT']; ?>
</td>
    <td><input name="DMINAMT" type="text" style="background:<?php echo $this->_tpl_vars['colorDMINAMT']; ?>
; text-align:right;" value="<?php echo $this->_tpl_vars['DMINAMT']; ?>
" size="20" maxlength="20" onblur="formatNumber2(this,this.value,16,4);" onkeypress="return numberOnly(event);" readonly="readonly"/></td>
    <td><?php echo $this->_tpl_vars['lbl_DMINDAY']; ?>
</td>
    <td><input name="DMINDAY" type="text" style="background:<?php echo $this->_tpl_vars['colorDMINDAY']; ?>
; text-align:right;" value="<?php echo $this->_tpl_vars['DMINDAY']; ?>
" size="20" maxlength="3"  onkeypress="return numberOnly(event);" readonly="readonly"/></td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_DAYNOINT']; ?>
</td>
    <td><input name="DAYNOINT" type="text" id="DAYNOINT" style="background:<?php echo $this->_tpl_vars['colorDAYNOINT']; ?>
; text-align:right;" onkeypress="return numberOnly(event);" value="<?php echo $this->_tpl_vars['DAYNOINT']; ?>
" size="20" maxlength="3"  readonly="readonly"/></td>
    <td><?php echo $this->_tpl_vars['lbl_Npihld']; ?>
</td>
    <td><input name="NPIHLD" type="text" id="NPIHLD" style="background:<?php echo $this->_tpl_vars['colorNPIHLD']; ?>
; text-align:right;" value="<?php echo $this->_tpl_vars['NPIHLD']; ?>
" size="20" maxlength="1" readonly="readonly" /></td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_RATEATEFFDT']; ?>
</td>
    <td><select name="RATEATEFFDT" id="RATEATEFFDT" disabled="disabled">
     <option value=""></option>
	<?php $_from = $this->_tpl_vars['cbo_RATEATEFFDT']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['RATEATEFFDT']): ?> selected="selected" <?php endif; ?> > <?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
 </option>
      
      <?php endforeach; endif; unset($_from); ?>
     
    </select></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
<div align="center">
<table class="tborder" style="width:60%;" border="0" cellpadding="5" cellspacing="1">
  <thead>
  <tr>
    <th><?php echo $this->_tpl_vars['lbl_stt']; ?>
</th>
    <th><?php echo $this->_tpl_vars['lbl_kyhan']; ?>
</th>
    <th><?php echo $this->_tpl_vars['lbl_makkyhan']; ?>
</th>
    <th><?php echo $this->_tpl_vars['lbl_laisuat']; ?>
</th>
    <th><?php echo $this->_tpl_vars['lbl_malaisuat']; ?>
</th>
  </tr>
  </thead>
  <?php echo $this->_tpl_vars['tbldata']; ?>

</table>
<div class="cat-btm_x" style="width:60%"><div class="cat-btm_lft"></div><div class="cat-btm_rht"></div></div>
</div>

<p>
<p>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
  <td align="left" nowrap="nowrap" colspan="2"><input name="addnew" type="submit" value="<?php echo $this->_tpl_vars['ten_themmoi']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      <input name="maintain" type="submit" value="<?php echo $this->_tpl_vars['ten_baotri']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
</tr>
<tr>
<td colspan="2"><hr></td>
</tr>
<tr>
<td>
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'">

</td>
<td align="right" nowrap="nowrap"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'">
</td>
</tr>
</table>
</form>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>